---
title: WdMailMergeDataSource Enumeration (Word)
ms.prod: word
api_name:
- Word.WdMailMergeDataSource
ms.assetid: df209be7-8008-ecd7-d775-c25ea1656542
ms.date: 06/08/2017
---


# WdMailMergeDataSource Enumeration (Word)

Specifies the data source for a mail merge operation.



|**Name**|**Value**|**Description**|
|:-----|:-----|:-----|
| **wdMergeInfoFromAccessDDE**|1|From Microsoft Access using Dynamic Data Exchange (DDE).|
| **wdMergeInfoFromExcelDDE**|2|From Microsoft Excel using DDE.|
| **wdMergeInfoFromMSQueryDDE**|3|From MSQuery using DDE.|
| **wdMergeInfoFromODBC**|4|From an Open Database Connectivity (ODBC) connection.|
| **wdMergeInfoFromODSO**|5|From an Office Data Source Object (ODSO).|
| **wdMergeInfoFromWord**|0|From Microsoft Word.|
| **wdNoMergeInfo**|-1|No merge information provided.|

